﻿<UserControl x:Class="Ares.GUI.Views.ModalDialog"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:controller="clr-namespace:Ares.GUI.Controller"
			 mc:Ignorable="d" 
			 d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.DataContext>
        <controller:ModalDialogController />
    </UserControl.DataContext>
	<Grid>
		<Border Background="#B0000000" Visibility="{Binding DialogVisibility}">
			<Border BorderBrush="Black" BorderThickness="1" Background="White" 
					CornerRadius="0 0 0 0" VerticalAlignment="Center"
					HorizontalAlignment="Center" >
				<Border.BitmapEffect>
					<DropShadowBitmapEffect Color="Black" Opacity="0.5" Direction="270" ShadowDepth="0.7" />
				</Border.BitmapEffect>
				<StackPanel>
					<Label>Information</Label>
                    <ContentPresenter Content="{Binding CustomControl}" />
				</StackPanel>

			</Border>

		</Border>
	</Grid>
</UserControl>
